package cn.phonevane.model;

import java.util.Date;

/**
 * TComment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TComment implements java.io.Serializable {

	// Fields

	private Long commentId;
	private Long commentPId;
	private Long commentRootId;
	private Integer commentIfLeaf;
	private Long productId;
	private Long articleId;
	private String commentTitle;
	private String commentContent;
	private Integer commentHeat;
	private Integer cpmmentIfHide;
	private String userName;
	private Date commentCreateTime;
	private Date commentModifyTime;

	// Constructors

	/** default constructor */
	public TComment() {
	}

	/** minimal constructor */
	public TComment(String commentContent) {
		this.commentContent = commentContent;
	}

	/** full constructor */
	public TComment(Long commentPId, Long commentRootId, Integer commentIfLeaf,
			Long productId, Long articleId, String commentTitle,
			String commentContent, Integer commentHeat, Integer cpmmentIfHide,
			String userName, Date commentCreateTime, Date commentModifyTime) {
		this.commentPId = commentPId;
		this.commentRootId = commentRootId;
		this.commentIfLeaf = commentIfLeaf;
		this.productId = productId;
		this.articleId = articleId;
		this.commentTitle = commentTitle;
		this.commentContent = commentContent;
		this.commentHeat = commentHeat;
		this.cpmmentIfHide = cpmmentIfHide;
		this.userName = userName;
		this.commentCreateTime = commentCreateTime;
		this.commentModifyTime = commentModifyTime;
	}

	// Property accessors

	public Long getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Long commentId) {
		this.commentId = commentId;
	}

	public Long getCommentPId() {
		return this.commentPId;
	}

	public void setCommentPId(Long commentPId) {
		this.commentPId = commentPId;
	}

	public Long getCommentRootId() {
		return this.commentRootId;
	}

	public void setCommentRootId(Long commentRootId) {
		this.commentRootId = commentRootId;
	}

	public Integer getCommentIfLeaf() {
		return this.commentIfLeaf;
	}

	public void setCommentIfLeaf(Integer commentIfLeaf) {
		this.commentIfLeaf = commentIfLeaf;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getArticleId() {
		return this.articleId;
	}

	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}

	public String getCommentTitle() {
		return this.commentTitle;
	}

	public void setCommentTitle(String commentTitle) {
		this.commentTitle = commentTitle;
	}

	public String getCommentContent() {
		return this.commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Integer getCommentHeat() {
		return this.commentHeat;
	}

	public void setCommentHeat(Integer commentHeat) {
		this.commentHeat = commentHeat;
	}

	public Integer getCpmmentIfHide() {
		return this.cpmmentIfHide;
	}

	public void setCpmmentIfHide(Integer cpmmentIfHide) {
		this.cpmmentIfHide = cpmmentIfHide;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getCommentCreateTime() {
		return this.commentCreateTime;
	}

	public void setCommentCreateTime(Date commentCreateTime) {
		this.commentCreateTime = commentCreateTime;
	}

	public Date getCommentModifyTime() {
		return this.commentModifyTime;
	}

	public void setCommentModifyTime(Date commentModifyTime) {
		this.commentModifyTime = commentModifyTime;
	}

}